package com.exam.test;

import android.R.drawable;
import android.app.Activity;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.widget.TextView;

public class Exam extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        Resources res = getBaseContext().getResources();
        Drawable hippo = res.getDrawable(R.drawable.black);
        TextView tv = (TextView)findViewById(R.id.editText1);
        tv.setBackgroundDrawable(hippo);
    }
}